<?php
class dichvubs {
    private $MaDV       = 0;
    private $TenDV      = 0;
    private $Gia        = 0;
    
    public function Them(){
        $db = new dichvudb();
        $db->Them($this->MaDV, $this->TenDV, $this->Gia);
    }
    
    public function CapNhat(){
        $db = new dichvudb();
        $db->CapNhat($this->MaDV, $this->Gia);
    }
    
    public function Xoa(){
        $db = new dichvudb();
        $db->Xoa($this->MaDV);
    }
    
    public function LayDanhSach(){
        $db = new dichvudb();
        $db->LayDanhSach();
    }
}
?>